Skip to content

libvalkey: add build-libvalkey.yml for riscv64 wheels - #1687

Merged
luhenry merged 1 commit into
mainfrom
libvalkey
Sep 10, 2026
Merged

libvalkey: add build-libvalkey.yml for riscv64 wheels#1687
luhenry merged 1 commit into
mainfrom
libvalkey

Conversation

@luhenry

@luhenry luhenry commented Sep 10, 2026

Copy link
Copy Markdown
Member

Compiles the libvalkey Python bindings, a C extension linking the vendored libvalkey C client library (checked out as a submodule) for the Valkey/Redis protocol. Upstream publishes no riscv64 wheel.

Mirrors upstream's pypi-publish.yaml.

Differs from upstream

  • Nothing beyond the riscv64 image.

Testing

  • same as upstream

License: package is MIT; the wheel also bundles the vendored libvalkey C library (BSD-3-Clause), whose COPYING notice setuptools does not glob into dist-info by default, so a patch adds it as LICENSE.libvalkey.

Patches

  • 0001-add-the-vendored-libvalkey-licence-next-to-the-pack.patch - To upstream [not yet submitted; the same gap exists in every libvalkey wheel on PyPI]. Wheel ships without the vendored BSD-3-Clause notice without it; reproduces off riscv64 too.

Built on cp312; TBD passed, TBD skipped.

Builds the libvalkey Python bindings (a hiredis-style C extension over
the vendored libvalkey C client, checked out as a submodule) for
riscv64, mirroring hiredis's own build-from-checkout shape since
libvalkey-py has the same setup.py + vendored-submodule layout and no
pyproject.toml. Carries a licensing patch, following the precedent set
for hiredis: setuptools' default LICEN[CS]E* glob only picks up files
at the project root, so the vendored libvalkey C library's BSD-3-Clause
COPYING notice (required by its redistribution clause) is missing from
the wheel unless copied there as LICENSE.libvalkey.
luhenry added a commit that referenced this pull request Sep 10, 2026
@luhenry
luhenry merged commit 9355807 into main Sep 10, 2026
9 checks passed
@luhenry
luhenry deleted the libvalkey branch September 10, 2026 10:45
@luhenry luhenry linked an issue Sep 10, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

libvalkey riscv64 support

1 participant